package com.wsoft.portal.query.module;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author z001
 * @Date 2024/12/31 15:09
 */
@Data
public class ModuleWidthHeightListQuery {

    @Schema(description = "板块id")
    @NotNull(message = "板块id不能为空")
    private Long id;

    @Schema(description = "宽度")
    @NotNull(message = "宽度不能为空")
    private Integer width;

    @Schema(description = "高度")
    @NotNull(message = "高度不能为空")
    private Integer height;

    @Schema(description = "X轴")
    @NotNull(message = "X轴不能为空")
    private BigDecimal axisX;

    @Schema(description = "Y轴")
    @NotNull(message = "Y轴不能为空")
    private BigDecimal axisY;

    @Schema(description = "排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;

    @Schema(description = "列数")
    private Integer widthCount;
}
